package face.pay.dao;

import face.pay.entity.DeviceApplyInfo;
import face.pay.entity.DeviceOrderInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Classname DeviceApplyInfoDao
 * @Description JJL
 * @Date 2019/11/13 17:20
 */
@Mapper
public interface DeviceApplyInfoDao {

    /**
     * 新增代理商申请设备记录
     * @param deviceApplyInfo
     */
    void insert(DeviceApplyInfo deviceApplyInfo);

    /**
     * oem查询代理商的设备申请记录
     * @param deviceApplyInfo
     * @return
     */
    List<DeviceApplyInfo> queryList(DeviceApplyInfo deviceApplyInfo);

    /**
     * oem审批设备申请 或 驳回
     * @param deviceApplyInfo
     */
    int update(DeviceApplyInfo deviceApplyInfo);



}
